-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implement validate on blur & input #610
Conversation
0155a98
to
5a9c2f7
Compare
Rebased to develop, surprisingly went very smoothly despite 200 commits behind :D |
I will have a deeper look at this tomorrow 👍 @christian-konrad @RomanKostka feel free to have a look at this as well, as this quite a change in the validation flow. https://demo-382-validate-on-blur--camunda-form-playground.netlify.app/ |
packages/form-js-viewer/src/features/viewerCommands/behaviors/index.js
Outdated
Show resolved
Hide resolved
5a9c2f7
to
098c2d6
Compare
098c2d6
to
ca576b0
Compare
} | ||
|
||
registerHandlers() { | ||
Object.entries(this.getHandlers()).forEach(([ id, handler ]) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found the usage of CommandStack in the viewer context interesting here. Just to better understand what is happening, why did we add it? Is undo/redo a needed capability?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CC @Skaiir
Closes #382
Closes #323
Demo: https://demo-382-validate-on-blur--camunda-form-playground.netlify.app/